package com.superhero.common.pojo.vo.InspectorEnd;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.superhero.common.pojo.PageInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "QueryInfoListInput", description = "访客列表多条件查询入参封装")
public class QueryInfoListInput extends PageInput {

    @NotNull(message = "人员性质不允许为空")
    @ApiModelProperty(name = "personType", value = "人员性质", dataType = "Integer", notes = "1-常住 2-租户 3-访客", required = true)
    private Integer personType;
}
